package com.ecoolex.cms.system.platform;

import org.springframework.boot.SpringApplication;

import com.ecoolex.framework.code.generator.graphql.core.GraphqlCodeGeneratorConstant;
import com.ecoolex.cms.system.platform.core.PlatformConstant;

public class CmsSystemPlatformServiceStarter {

	public static void main(String[] args) throws Exception {
		System.setProperty("project.name", PlatformConstant.PROJECT_PLATFORM_NAME);
		System.setProperty(GraphqlCodeGeneratorConstant.GRAPHQL_BUILD_CATALOG, "./target/");
		System.setProperty(GraphqlCodeGeneratorConstant.GRAPHQL_BUILD_ENABLE, "true");
		
		SpringApplication.run(Application.class);

//	    Desktop.getDesktop().browse(new URI("http://127.0.0.1:8080/"));
	}
}
